// swiper 轮播图
var swiper = new Swiper('.swiper-container', {

    	// 左右滑动
        pagination: '.swiper-pagination',
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        slidesPerView: 1,
        paginationClickable: true,
        autoplay: 4000,
        loop: true

        // 渐变效果
        // pagination: '.swiper-pagination',
        // paginationClickable: '.swiper-pagination',
        // nextButton: '.swiper-button-next',
        // prevButton: '.swiper-button-prev',
        // autoplay: 3000,
        // effect: 'fade'

});